package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.ProjectUserAssignment;

import java.util.List;

/**
 * 项目与人员分配Service接口
 *
 * @author liuxvru
 * @date 2024-11-22
 */
public interface IProjectUserAssignmentService extends IService<ProjectUserAssignment> {

    /**
     * 查询项目与人员分配列表
     *
     * @param projectUserAssignment 项目与人员分配
     * @return 项目与人员分配集合
     */
    public List<ProjectUserAssignment> selectProjectUserAssignmentList(ProjectUserAssignment projectUserAssignment);

    List<ProjectUserAssignment> listByProjectId(Long projectId);

    int addUser(ProjectUserAssignment user);

    int upUser(ProjectUserAssignment user);

    int delUser(Long id);
}
